package com.jinmdz.fmis.common.model;

import java.util.ArrayList;

/**
 * Poi.Table
 *
 * @author LiCongLu
 * @date 2020-01-02 14:37
 */
public class PoiTable {
    /**
     * Sheet1
     */
    private String sheetName;

    /**
     * 标题
     */
    private PoiTitle titleCell;

    /**
     * 列名所在行数
     */
    private int columnRowNum;

    /**
     * 列数据行
     */
    private PoiRow columnRow;

    /**
     * 行数据
     */
    private ArrayList<PoiRow> rows;

    public String getSheetName() {
        return sheetName;
    }

    public PoiTable setSheetName(String sheetName) {
        this.sheetName = sheetName;
        return this;
    }

    public PoiTitle getTitleCell() {
        return titleCell;
    }

    public PoiTable setTitleCell(PoiTitle titleCell) {
        this.titleCell = titleCell;
        return this;
    }

    public int getColumnRowNum() {
        return columnRowNum;
    }

    public PoiTable setColumnRowNum(int columnRowNum) {
        this.columnRowNum = columnRowNum;
        return this;
    }

    public PoiRow getColumnRow() {
        return columnRow;
    }

    public PoiTable setColumnRow(PoiRow columnRow) {
        this.columnRow = columnRow;
        return this;
    }

    public ArrayList<PoiRow> getRows() {
        return rows;
    }

    public PoiTable setRows(ArrayList<PoiRow> rows) {
        this.rows = rows;
        return this;
    }
}
